<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="../../../pages/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<form:form action="${sessionScope.gopay_webtest_URL.dom}${sessionScope.gopay_webtest_URL.blocktrade}" 
	name="returnfunc" id= "returnfunc" method="POST">
<!--	<input type="hidden" name="tranCode" value="${info.tranCode }" size="50"/>-->
<!--	<input type="hidden" name="gopayServerTime" value="${info.tranDateTime }" size="50"/>-->
<!--	<input type="hidden" name="version" value="${info.version }" size="50"/>-->
<!--	<input type="hidden" name="merchantID" value="${info.merchantID }" size="50"/>-->
<!--	<input type="hidden" name="contractNo" value="${info.contractNo }" size="50"/>-->
<!--	<input type="hidden" name="tranDateTime" value="${info.tranDateTime }" size="50"/>-->
<!--	<input type="hidden" name="frontMerUrl" value="${info.frontMerUrl }" size="50"/>-->
<!--	<input type="hidden" name="backgroundMerUrl" value="${info.backgroundMerUrl }" size="50" />-->
<!--	<input type="hidden" name="merAcct" value="${info.merAcct }" size="50"/>-->
<!--	<input type="hidden" name="tranAmt" value="${info.tranAmt }" size="50"/>-->
<!--	<input type="hidden" name="merOrderNum" value="${info.merOrderNum }" size="50"/>-->
<!--	<input type="hidden" name="currencyType" value="${info.currencyType }" size="50"/>-->
<!--	<input type="hidden" name="charset" value="${info.charset }" size="50"/>-->
<!--	<input type="hidden" name="msgExt" value="${info.msgExt }" size="50"/>-->
<!--	<input type="hidden" name="merRemark1" value="${info.merRemark1 }" size="50"/>-->
<!--	<input type="hidden" name="merRemark2" value="${info.merRemark2 }" size="50"/>-->
<!--	<input type="hidden" name="tranIP" value="${info.tranIP }" size="50"/>-->
<!--	<input type="hidden" name="signType" value="${info.signType }" size="50"/>-->
<!--	<input type="hidden" name="isRepeatSubmit" value="${info.isRepeatSubmit }" size="50"/>-->
<!--	<input type="hidden" name="recvAcctType" value="${info.recvAcctType }" size="50"/>-->
<!--	<input type="hidden" name="signValue" value="${info.signValue }" size="50"/>-->
	<c:forEach items="${info }" var="entity">
		<c:if test="${entity.key != 'submit' }">
			<input type="hidden" name="${entity.key }" value="${entity.value }"/>
		</c:if>
		
	</c:forEach>
</form:form>
<script>
if($.browser.msie) {
	if(0==history.length)document.returnfunc.submit();
}else if($.browser.mozilla){
	if(1==history.length)document.returnfunc.submit();
}else if($.browser.opera) {
	if(1==history.length)document.returnfunc.submit();
}else{//for webkit(Safari, Chrome...)
	if(1==history.length)document.returnfunc.submit();
} 
</script> 
